<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ include file="/base.jsp" %>

<html>
<head>
    <title>数据共享平台</title>
    <link href="css/icon.css" rel="stylesheet" />
    <link href="css/login.css" rel="stylesheet" />
    <meta name=”renderer” content=”webkit” />
    <script src="js/jquery.min.js"></script>
</head>
<body>
<div class="B_box">
    <div class="M_content">
        <div class="leftBc"></div>
        <div class="rightBc"></div>
        <div class="logBox">
            <span class="logo">
            <!-- <img src="images/loginlogo.png" />-->
            </span>
            <span class="leftGz"><img src="images/gezileft.png" /></span>
            <span class="rightGz"><img src="images/geziright.png" /></span>
            <div class="img"><img src="images/loginimg.png" /></div>
            <form action="${ctx}/login" method="post">
                <div class="inputBox">
                    <span class="cantchoose">登录名</span>
                    <!--提示错误加类名wrong-->
                    <input type="text" name="userName" id="userName" class="loginput" placeholder="请输入用户名" autocomplete="off" />
                </div>
                <div class="inputBox">
                    <span class="cantchoose">密　码</span>
                    <input type="password" name="password" id="password" class="loginput" placeholder="请输入密码" autocomplete="off" />
                </div>
                <div class="checkBox">
                    <input type="checkbox" name="rememberMe" value="true" class="checkBtn"/>
                    <span class="cantchoose">下次自动登录</span>
                </div>
                <div class="btnBox">
                    <input type="submit" class="logBtn" value="登　　录" />
                </div>
            </form>
        </div>
    </div>
</div>
<div class="foot cantchoose">CopyRight @ Kunyv Corp 2020</div>
<script type="text/javascript">
    $(function () {
        var _winHeight = $(window).height();
        var _mtH = (_winHeight - 365) / 2;
        $(".B_box .M_content").css({ marginTop: _mtH});
        if("${param.errorInfo}"){
            alert("${param.errorInfo}");
        }
    })
</script>
</body>
</html>
